import request from '@/utils/request'

export const getVideosByCategoryId = (categoryId) => {
  const params = {
    categoryId: categoryId
  }
  return request.get('/video/category', { params })
}
